using System.Text.RegularExpressions;

namespace System72.NTextile.RegexLibrary
{
    public class AcronymRegex:BaseRegex
    {
        public AcronymRegex()
        {
            string pattern = "\\b(([A-Z]){3,})\\(((?>[^()]+" + "|\\((?<depth>)|\\)(?<-depth>))*" + "(?(depth)(?!)))\\)";
            m_regex = new Regex(pattern);
        }
    }
}
